//
//  CZQMyMainSharView.h
//  StylisticCircle
//
//  Created by zhiqiang chen on 2018/6/14.
//  Copyright © 2018年 zongquankeji. All rights reserved.
//  分享我的主页View

#import <UIKit/UIKit.h>
typedef void(^ShareClick)(NSInteger index);

typedef void(^HidenClick)(void);

@interface CZQMyMainSharcell : UICollectionViewCell

/**
 图片链接
 */
@property(nonatomic,weak)UIButton *shareBtn;

/**
 图片链接
 */
@property(nonatomic,weak)UILabel *shareLable;

@end

/**
 链接图片
 */
@interface CZQMyMainSharSeletView : UIView

/**
 内容
 */
@property(nonatomic,weak)UILabel *titleLable;

/**
 图片链接
 */
@property(nonatomic,weak)UIButton *contenBtn;

/**
 选择
 */
@property(nonatomic,weak)UIButton *seletnBtn;

@end

@interface CZQMyMainSharView : UIView

/**
 背景色
 */
@property(nonatomic,weak)UIView *alphaView;


/**
 内容view
 */
@property(nonatomic,weak)UIView *whiteView;

/**
 标题
 */
@property(nonatomic,weak)UILabel *titleLable;

/**
 选择的图片还是连接View
 */
@property(nonatomic,weak)UIView *seletView;

/**
 图片
 */
@property(nonatomic,weak)CZQMyMainSharSeletView *photoView;

/**
 链接
 */
@property(nonatomic,weak)CZQMyMainSharSeletView *urlView;

@property(nonatomic,weak)UIImageView *urlImage;

@property(nonatomic,weak)UILabel *urlLable;

/**
 分享方式
 */
@property(nonatomic,weak)UICollectionViewFlowLayout *layout;

/**
 分享方式
 */
@property(nonatomic,weak)UICollectionView *shareView;

/**
 退出
 */
@property(nonatomic,weak)UIButton *popBtn;

/**
 分割线
 */
@property(nonatomic,weak)UIView *sepView;

/**
 按钮回调
 */
@property (nonatomic, strong) ShareClick shareClick;


/**
 隐藏回调
 */
@property (nonatomic, strong)HidenClick  hidenClick;

/**
 NSMutableDictionary *parmas = [NSMutableDictionary dictionary];
 [parmas setValue:@"朋友圈" forKey:@"title"];
 [parmas setValue:@"share_icon_circle_of_friends_2" forKey:@"image"];
 */
@property (nonatomic, strong)  NSMutableArray *shareSoursArrM;


/**
 只有分享qq微信
 */
-(void)onlyShare;

- (void)showWithAnimation;
- (void)hiddenViews;
- (void)addViews;

@end
